import request from '@/utils/request'

export function queryTaskSchedule(query) {
  return request({
    url: '/api/admin/firetask/queryTaskSchedule',
    method: 'get',
    params: query
  })
}

export function queryTaskScheduleById(id) {
  return request({
    url: '/api/admin/firetask/' + id,
    method: 'get',
    params: id
  })
}

export function queryTaskTenement(query) {
  return request({
    url: '/api/admin/fireTenement/queryTaskTenement',
    method: 'get',
    params: query
  })
}

export function getTaskBuildRerication(id) {
  return request({
    url: '/api/admin/fireBuilding/getTaskBuildRerication',
    method: 'get',
    params: { id }
  })
}

export function getTementRerication(id) {
  return request({
    url: '/api/admin/fireBuilding/getTementRerication',
    method: 'get',
    params: { id }
  })
}
